package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

import java.util.List;
import java.util.Map;

public interface SenSitiveService extends IService<WmSensitive> {
    ResponseResult getList(WmSensitiveDto dto);

    //新增敏感词
    ResponseResult saveSensitive(Map<String,String> map);

    //修改敏感词
    ResponseResult updateSensitive(Map<String, String> map);

    ResponseResult delectSensitive(int id);

    List<WmSensitive> selectList();
}
